home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
526-550
/
disk_547
/
findname
/
findname.demo
< prev
next >
Wrap
Text File
|
1992-05-06
|
886b
|
48 lines
.K ""
echo "This is a demonstration of FindName"
echo ""
; Find a device
FindName -d narrator.device
IF WARN
echo "The narrator device is not present"
ENDIF
; Find a library
FindName -l gadtools.library
IF WARN
echo "No gadtools library. We are not runnning under Kickstart 2.x"
ENDIF
; Find a memory-header
FindName -m "zkick memory"
IF NOT WARN
echo "You used zkick to install Kickstart 2.x"
ENDIF
; Find a messageport
FindName -p REXX
IF NOT WARN
echo "arexx is running"
ENDIF
; Find a resource
FindName -r potgo.resource
IF NOT WARN
echo "potgo resource is always present"
ENDIF
; Find a task
FindName -t Workbench
IF NOT WARN
echo "Jubii, I found the workbench task"
ENDIF
echo ""
echo "All Done. Click close gadget to get rid of window."
EndCli
; End of script